package com.the_ring.chapter06.bean;

import com.the_ring.chapter06.R;

import java.util.ArrayList;
import java.util.List;

public class GoodsInfo {

    public long rowId;
    public String name;
    public String detail;
    public int pic;
    public String picPath;
    public float price;

    public int num;

    public static List<GoodsInfo> getDefaultList() {
        List<GoodsInfo> infoList = new ArrayList<>();
        GoodsInfo info1 = new GoodsInfo();
        info1.name = "Redmi K70";
        info1.detail = "Redmi K70红米手机小米手机官方旗舰店红米k70小米k70高通骁龙8Gen2澎湃OS";
        info1.pic = R.drawable.phone_1;
        info1.price = 2214.93f;
        infoList.add(info1);
        GoodsInfo info2 = new GoodsInfo();
        info2.name = "华为 Mate X5";
        info2.detail = "Huawei/华为 Mate X5典藏版旗舰折叠屏手机华为matex5北斗卫星鸿";
        info2.pic = R.drawable.phone_1;
        info2.price = 11662f;
        infoList.add(info2);
        GoodsInfo info3 = new GoodsInfo();
        info3.name = "三星 Galaxy Z Fold6";
        info3.detail = "2024新款Samsung/三星 Galaxy Z Fold6 SM-F9560折叠手机国行正品";
        info3.pic = R.drawable.phone_1;
        info3.price = 12188f;
        infoList.add(info3);
        return infoList;
    }
}
